package com.burgeon.backend.SHOP.mappers;


import com.burgeon.backend.SHOP.entity.Group;
import com.burgeon.backend.SHOP.entity.GroupItem;
import com.burgeon.backend.SHOP.entity.GroupOrder;


public interface GroupOrderMapper {

    Integer delGroupOrderItem(String id);

    Integer delGroupOrder(String id);

    Integer upGroupState(String id,String state);

    GroupItem getgetGroupItemByOid(String oid);

    //变更团购单人数
    Integer upGroupNumber(String id,int num);

    Integer createGroupItem(GroupItem groupItem);

    Group findGroupById(String id);

    Integer insertGroupOrder(GroupOrder groupOrder);


}
